import { Injectable } from '@angular/core';
import { SERVERS_NAME } from '../../../config/config';
import { HttpService } from '../../../core/http.service';
import { CommHttpService } from '../../../core/comm.http.service';

@Injectable()
export class SystemFormService extends CommHttpService {


  protected preUrl = `${SERVERS_NAME.INSTITUTION_SERVER}ins/`;
  protected preUrl1 = `${SERVERS_NAME.INSTITUTION_SERVER}feedback/`;

  constructor(protected http: HttpService) {
    super(http);
  }

  /**
   * 获取制度反馈明细
   */
  viewInstitution(data) {
    return this.http.post(data, this.preUrl1 + 'viewInstitution');
  }
}
